﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucNewsCategoriesDetail.ascx.cs" Inherits="Modules_WebsiteBackEnd_wucNewsCategoriesDetail" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="../Common/wucToolbar.ascx" TagName="wucToolbar" TagPrefix="uc2" %>
<asp:UpdatePanel ID="UpdatePanelDetail" runat="server">
    <ContentTemplate>
        <table align="center" border="0" cellpadding="0" cellspacing="0" width="790px" class="TableGrayBorder">
            <tbody>
                <tr height="30px">
                    <td align="right">
                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#f0f2f4">
                            <tbody>
                                <tr height="40px">
                                    <td width="5px">&nbsp;</td>
                                    <td align="center" valign="middle">
                                        <b><asp:Label ID="lblDetailMode" runat="server"></asp:Label></b><asp:Label ID="lblCurrentMode" runat="server" Visible="False"></asp:Label>
                                    </td>
                                    <td width="5px">&nbsp;</td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="700">
                            <tbody>                                                
                                <tr height="35px" valign="middle">
                                    <td>
                                        <img src="Images/spacer.gif" width="15px" height="1px" />
                                    </td>
                                    <td align=left>
                                        CategoryID
                                    </td>
                                    <td align=left>
                                        <asp:Label ID="lblCategoryID" runat="server" Width="200"></asp:Label>
                                    </td>                                
                                    <td>
                                    </td>
                                    <td>                                        
                                    </td>
                                    <td>                                        
                                    </td>
                                </tr>
                                <tr height="35px" valign="middle">
                                    <td>
                                        <img src="Images/spacer.gif" width="15px" height="1px" />
                                    </td>
                                    <td align=left>
                                        Mã Category *
                                    </td>
                                    <td align=left>
                                        <asp:TextBox ID="tbCategoryCode" runat="server" Width="200"></asp:TextBox>                                        
                                        <asp:RequiredFieldValidator ID="rfvCategoryCode" ControlToValidate="tbCategoryCode" runat="server" ErrorMessage="Thiếu mã danh mục." Text="*"></asp:RequiredFieldValidator></td>
                                    <td>
                                    </td>
                                    <td align=left>Ngôn ngữ                                        
                                    </td>
                                    <td align=left>
                                        <telerik:radcombobox id="rcboLanguageCode" runat="server" showtoggleimage="True" CausesValidation=false
                                            skin="Vista" width="200px" autopostback="True" OnSelectedIndexChanged="rcboLanguageCode_SelectedIndexChanged">
                                        </telerik:radcombobox>                       
                                    </td>
                                </tr>
                                <tr height="35px" valign="middle">
                                    <td>
                                    </td>
                                    <td align=left>
                                        Tên Category *
                                    </td>
                                    <td align=left> <asp:TextBox ID="tbCategoryName" runat="server" Width="200"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="rfvategoryName" ControlToValidate="tbCategoryName" runat="server" ErrorMessage="Thiếu tên danh mục." Text="*"></asp:RequiredFieldValidator></td>                                
                                    <td>
                                        &nbsp;</td>
                                    <td align=left>
                                        Category Cha
                                    </td>
                                    <td align=left>
                                        <telerik:radcombobox id="rcboParentCategory" runat="server" showtoggleimage="True"
                                            skin="Vista" width="200px" autopostback="False">
                                        </telerik:radcombobox>
                                    </td>
                                </tr>
                                <tr height="35px" valign="middle">
                                    <td>
                                    </td>
                                    <td align=left>
                                        Mô tả
                                    </td>
                                    <td align=left>
                                        <asp:TextBox ID="tbDescription" runat="server" Width="200"></asp:TextBox>
                                    </td>                                
                                    <td>
                                        <img src="Images/spacer.gif" width="15px" height="1px" />
                                    </td>
                                    <td align=left>
                                    </td>
                                    <td align=left>
                                    </td>
                                </tr>
                                <tr height="30px" valign="middle">                                    
                                    <td colspan="6" align="center">
                                        <asp:ValidationSummary ID="vsDetailValidate" runat="server" DisplayMode="SingleParagraph"
                                            Font-Bold="True" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>